<template>
  <div class="home">
      <div class="box">
        <div class="pop-top">
          {{$t('user.end1')}}
        </div>
        <div class="pop-menu">
          <div class="pop-line">
            <div>0x9344a01aa15a4969814ceb3054deb4bf76d4208</div>
            <div>
              <img src="../assets/edit@2x.png" alt="">
            </div>
          </div>
          <div class="pop-info">
            <img src="../assets/wraning@2x.png" alt="">
            <span>{{$t('user.end2')}}</span>
          </div>            
          <div class="pop-join">{{$t('user.home8')}}</div>
        </div>
        <img class="pop-close" @click="close" src="../assets/close@2x.png" alt="">
      </div>
  </div>
</template>
  
  <script>
export default {
  name: "popup",
  data() {
    return {
      
    };
  },
  props:['num'],
  components: {},
  mounted() {    
  },
  methods: {
    //关闭
    close(){
      this.$emit('close',true)
    },
  }
};
</script>
  
  <!-- Add "scoped" attribute to limit CSS to this component only -->
  <style scoped lang="scss">
.home {
  position: fixed;
  z-index: 1000;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  padding: 0px 23px;
  background-color: rgba(0, 0, 0, .8);
  .box{
    padding-top: 120px;
  }
  .pop-top{
    width: 300px;
    height: 40px;
    line-height: 38px;
    background-image: url(../assets/sub-title@2x.png);
    background-size:100%;
    margin: 0 auto;
    color: #C8542E;
    // .pop-img{
    //   z-index: 10;
    // }
  }
  .pop-menu{
    height: 276px;
    background-image: url(../assets/layer-box@2x.png);
    background-size:100%;
    position: relative;
    top: -20px;
    z-index: -1;
    padding: 40px 15px;
    padding-top: 60px;
    .pop-line{
      width: 100%;
      height: 40px;
      line-height: 38px;
      border: 1px solid #FB8855;
      border-radius: 35px;
      font-size: 12px;
      padding: 0px 16px;
      display: flex;
      justify-content: space-between;
      >div:nth-child(1){
        width: 80%;
        overflow: hidden;
        text-overflow:ellipsis;
        white-space: nowrap;
      }
      >div:nth-child(2){
        img{
          width: 39px;
          position: relative;
          top: 0px;
          left: 17px;
        }
      }
    }
    .pop-info{
      color: #FE1010;
      font-size: 12px;
      margin-top: 30px;
      img{
        width: 16px;
        position: relative;
        top: 4px;
      }
    }
    .pop-join{
      width: 200px;
      height: 40px;
      line-height: 38px;
      background-image: linear-gradient(to bottom, #E75607, #FF9C00, #FFD89A);
      border: 1px solid #514822;
      margin-right: 15px;
      border-radius: 20px;
      position: relative;
      top: 36px;
      text-align: center;
      margin: 0 auto;
      font-size: 16px;
      text-shadow: 0px 1px 5px rgba(12, 4, 7, 0.75);
    }
  }
  .pop-close{
    width: 60px;
  }
}
</style>
  